package com.ton.common.controller;

import io.swagger.models.Model;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 收银台的Controller
 * 直接返回页面
 */
@Controller
//@RequestMapping("/return")
public class CashierDeskController {
    @RequestMapping("/cashier/desk/{orderId}")
    public String cashierDesk(@PathVariable("orderId") String orderId, Model model){
        System.out.println(orderId);
        return "index";
    }
}
